package com.vhuan.common.exception;

import com.feiniaojin.gracefulresponse.api.ExceptionMapper;
import com.vhuan.common.constant.common.ExceptionCode;

@ExceptionMapper(code = ExceptionCode.NOT_FOUND,msg = "资源不存在",msgReplaceable = true)
public  class NotFoundException extends RuntimeException{
    public NotFoundException(){}
    public NotFoundException(String msg){
        super(msg);
    }
    public NotFoundException(String msg,Throwable e){
        super(msg,e);
    }
    public NotFoundException(Throwable e){
        super(e);
    }
    public NotFoundException(String msg,Throwable e, boolean enableSuppression,boolean writableStackTrace){
        super(msg,e,enableSuppression,writableStackTrace);
    }
}
